package com.example.task1.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class TrafficPenaltyBean {
    /**
     * code : 200
     * msg : 查询成功
     * rows : [{"id":2,"illegalId":3,"userId":2,"code":"2021042110040387379","licenseNo":"210211199909090014","licenseLevel":"C1","carType":"大型汽车","plateNo":"辽 B123456","illegalDate":"2021-04-20","illegalEven":"闯红灯","illegalAddress":"大连市万达广场","money":200,"deductMarks":6,"performDate":"2021-04-20","performOffice":"沙河口交警队","fileNo":"210211199909090014","auditOffice":"沙河口交警队","contact":"13800000000","userName":null}]
     * total : 1
     */

    @SerializedName("code")
    private int code;
    @SerializedName("msg")
    private String msg;
    @SerializedName("total")
    private int total;
    @SerializedName("rows")
    private List<RowsDTO> rows;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsDTO> getRows() {
        return rows;
    }

    public void setRows(List<RowsDTO> rows) {
        this.rows = rows;
    }

    public static class RowsDTO {
        /**
         * id : 2
         * illegalId : 3
         * userId : 2
         * code : 2021042110040387379
         * licenseNo : 210211199909090014
         * licenseLevel : C1
         * carType : 大型汽车
         * plateNo : 辽 B123456
         * illegalDate : 2021-04-20
         * illegalEven : 闯红灯
         * illegalAddress : 大连市万达广场
         * money : 200
         * deductMarks : 6
         * performDate : 2021-04-20
         * performOffice : 沙河口交警队
         * fileNo : 210211199909090014
         * auditOffice : 沙河口交警队
         * contact : 13800000000
         * userName : null
         */

        @SerializedName("id")
        private int id;
        @SerializedName("illegalId")
        private int illegalId;
        @SerializedName("userId")
        private int userId;
        @SerializedName("code")
        private String code;
        @SerializedName("licenseNo")
        private String licenseNo;
        @SerializedName("licenseLevel")
        private String licenseLevel;
        @SerializedName("carType")
        private String carType;
        @SerializedName("plateNo")
        private String plateNo;
        @SerializedName("illegalDate")
        private String illegalDate;
        @SerializedName("illegalEven")
        private String illegalEven;
        @SerializedName("illegalAddress")
        private String illegalAddress;
        @SerializedName("money")
        private int money;
        @SerializedName("deductMarks")
        private int deductMarks;
        @SerializedName("performDate")
        private String performDate;
        @SerializedName("performOffice")
        private String performOffice;
        @SerializedName("fileNo")
        private String fileNo;
        @SerializedName("auditOffice")
        private String auditOffice;
        @SerializedName("contact")
        private String contact;
        @SerializedName("userName")
        private Object userName;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getIllegalId() {
            return illegalId;
        }

        public void setIllegalId(int illegalId) {
            this.illegalId = illegalId;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getLicenseNo() {
            return licenseNo;
        }

        public void setLicenseNo(String licenseNo) {
            this.licenseNo = licenseNo;
        }

        public String getLicenseLevel() {
            return licenseLevel;
        }

        public void setLicenseLevel(String licenseLevel) {
            this.licenseLevel = licenseLevel;
        }

        public String getCarType() {
            return carType;
        }

        public void setCarType(String carType) {
            this.carType = carType;
        }

        public String getPlateNo() {
            return plateNo;
        }

        public void setPlateNo(String plateNo) {
            this.plateNo = plateNo;
        }

        public String getIllegalDate() {
            return illegalDate;
        }

        public void setIllegalDate(String illegalDate) {
            this.illegalDate = illegalDate;
        }

        public String getIllegalEven() {
            return illegalEven;
        }

        public void setIllegalEven(String illegalEven) {
            this.illegalEven = illegalEven;
        }

        public String getIllegalAddress() {
            return illegalAddress;
        }

        public void setIllegalAddress(String illegalAddress) {
            this.illegalAddress = illegalAddress;
        }

        public int getMoney() {
            return money;
        }

        public void setMoney(int money) {
            this.money = money;
        }

        public int getDeductMarks() {
            return deductMarks;
        }

        public void setDeductMarks(int deductMarks) {
            this.deductMarks = deductMarks;
        }

        public String getPerformDate() {
            return performDate;
        }

        public void setPerformDate(String performDate) {
            this.performDate = performDate;
        }

        public String getPerformOffice() {
            return performOffice;
        }

        public void setPerformOffice(String performOffice) {
            this.performOffice = performOffice;
        }

        public String getFileNo() {
            return fileNo;
        }

        public void setFileNo(String fileNo) {
            this.fileNo = fileNo;
        }

        public String getAuditOffice() {
            return auditOffice;
        }

        public void setAuditOffice(String auditOffice) {
            this.auditOffice = auditOffice;
        }

        public String getContact() {
            return contact;
        }

        public void setContact(String contact) {
            this.contact = contact;
        }

        public Object getUserName() {
            return userName;
        }

        public void setUserName(Object userName) {
            this.userName = userName;
        }
    }
}
